package com.poly.flowable.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Map;

@Data
public class FormDTO implements Serializable {

    @ApiModelProperty("数据编号")
    private Long id;

    @ApiModelProperty("表单编号")
    private Long formId;

    @ApiModelProperty("流程部署编号")
    private String deployId;

    @ApiModelProperty("流程定义编号")
    private String procDefId;

    @ApiModelProperty("表单数据")
    private Map<String,Object> data;

    public FormDTO(Long formId,Long id) {
        this.id = id;
        this.formId = formId;
    }

    public FormDTO() {
    }
}
